<!-- 引入公共部分 -->
{{extend './layout.html'}}

{{block 'link'}}
<!-- 添加css链接 -->
<link rel="stylesheet" href="/static/admin/css/advertCarousel.css">
{{/block}}

<!-- body代码 -->
{{block 'main'}}
    <!-- 头部导航代码 -->
    {{include './header.html'}}
    <div class="banner">
        <div class="left">
            <!-- 侧边栏 -->
            {{include './aside.html'}}
        </div>
        <div class="right">
            <div class="nav">
                <i class="iconfont shouyebeifen"></i>
                <a href="/admin">首页</a>
                <i class="iconfont zuoyoujiantou"></i>
                <a href="/admin/system/advertCarousel">轮播管理</a>
            </div>
            <div class="wrap clearfix">
                <div class="orderShow">
                    <div class="btns">
                        <button class="btn updataBtn"><i class="iconfont shuaxin" onclick="reloadFun()"></i> 刷新</button>
                    </div>
                   <table class="tableOne" >
                    <thead>
                        <tr>
                            <td>序号</td>
                            <td>图片</td>
                            <td>操作</td>
                        </tr>
                    </thead>
                    <tbody class="tbodyMenu">
                        <tr>
                            <td>1</td>
                            <td>图片</td>
                            <td>
                                <button class="btn paixuBtn">
                                    <i class=" iconfont paixu"></i>
                                </button>
                                
                                <a href="/admin/trade/orderMenuDetail">
                                    <button class="btn detailBtn">
                                        <i class=" iconfont xiangqing-"></i>
                                    </button>
                                </a>
                            </td>
                        </tr>
                    </tbody>
                    </table>
               </div>
               <div class="changeImgWin">
                    <img src="https://shopwall-1305869108.cos.ap-nanjing.myqcloud.com/shopwall/32e125b19959439e92774549c3f3dbde.jpg" accept="image/*" capture="camera" class="headimgBig">
                    <br>
                    <input type="file" name="flie" class="file" value="点击选择图片" onchange="fileFun()" multiple="multiple"><br>
                    <button class="btn submitBtn" onclick="submitChangeImgFun()">更改</button>
                </div>
                <div class="sortWin">
                    <div class="sortHeader">
                        <span>轮播顺序</span>
                        <button class="iconfont shanchu1" onclick="closeUSerFun()"></button>

                    </div>
                    <div class="sortWrap">
                        <p class="prePosition">当前图片位置：1</p>
                        <p>请选择新的位置：</p>
                        <div class="sorts">
                            <span class="sortSpan">2</span>
                            <span>3</span>
                            <span>4</span>
                            <span>5</span>
                        </div>
                    </div>
                    <div class="sortBtns">
                        <button class="btn updataBtn" id="passBtn"  onclick="submitSortFun()">确定</button>
                        <button class="btn delsBtn" id="refuseBtn" onclick="closeUSerFun()">取消</button>
                    </div>
                </div>
            </div> 
        </div>
        <!-- 底部信息 -->
        {{include './footer.html'}}
        <div class="covers" onclick="closeUSerFun()"></div>
    </div>
    {{include './tools.html'}}

{{/block}}
{{block 'script'}}
<!-- 添加js代码 -->
<script src="/static/admin/js/advertCarousel.js"></script>
{{/block }}
